<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<link rel="stylesheet" href="<tmpl_var name=css_path>/dauphin.css" type="text/css">
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<title><tmpl_var name="mode"> - <tmpl_var name="table_name"> - dauphin</title>
</head>
<body>
	<tmpl_include name="nav.inc">
	<table id="edit_table" border="1">
		<tr>
			<th colspan="2">
				<div class="table_title">
<tmpl_var name="mode"> - <tmpl_var name="table_name"> - dauphin
</div>
				<div class="switch_modes"><a href="?mode=edit&amp;id=<tmpl_var name=id>&amp;offset=<tmpl_var name=offset>&amp;string=<tmpl_var name=string>"><button>edit</button></div>
			</th>
		</tr>
		<tmpl_if name="delete_mode">
		<tr>
			<th colspan="2" id="delete">
				Are you sure you want to delete this record?
				<form method="get" action="">
					<input name="id" type="hidden" value="<tmpl_var name=id>">
					<input type="hidden"  name="offset" value="<tmpl_var name=offset>">
					<input name="mode" type="hidden" value="delete">
					<input name="confirm_delete" type="submit" value="yes" style="margin-right:24px;">
					<input name="confirm_delete" type="submit" value="no" style="margin-left:24px;">
				</form>
			</th>
		</tr>
		</tmpl_if>
		<tmpl_loop name="internal">
		<tmpl_unless name="key_field">
		<tr>
			<td class="name" valign="top">
				<tmpl_var name="field_name">
			</td>
			<td class="field">
				<tmpl_var name=field_value>
			</td>
		</tr>
		</tmpl_unless>
		</tmpl_loop>
		<tmpl_loop name="external"> 
			<tr>
			<td class="name" valign="top">
				<tmpl_var name="field_name">
			</td>
			<td class="field">
				<ul>
				<tmpl_loop name="values">
					<li><tmpl_var name="value"></li>
				</tmpl_loop>
				</ul>
			</td>
		</tr>
		</tmpl_loop>

	</table>
	<tmpl_include name="nav.inc">
</body>
</html>
